.home {
  position: relative;
  z-index: 2;

  .swiper {
    height: 440rpx;
    box-sizing: border-box;
    padding-top: 20rpx;

    .slide-image {
      position: absolute;
      height: 380rpx;
      width: 570rpx;
      border-radius: 35rpx;
      z-index: 5;
      opacity: 0.7;
      box-shadow: 1rpx 10rpx 20rpx #9f55f7;
      border-radius: 40rpx;
      transform: scale(0.8);
      transition: 0.3s ease;
      background: #fff;
      &::before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 5;
        opacity: 0;
        box-shadow: inset 0 0 0rpx 0rpx #fff;
        border: 4rpx solid #fff;
        border-radius: 40rpx;
        transition: 0.3s ease;
      }

      image {
        position: relative;
        z-index: 1;
        border-radius: 40rpx;
      }
    }

    .active {
      box-sizing: border-box;
      opacity: 1;
      transform: scale(1);

      image {
        border-radius: 40rpx;
      }

      &::before {
        opacity: 1;
        box-shadow: inset 0 0 20rpx 10rpx #fff;
      }
    }

  }


  .area-wrapper {
    display: flex;
    align-items: center;
    margin-bottom: 30rpx;
    margin-top: 35rpx;

    .area {
      width: 140rpx;
      display: inline-flex;
      justify-content: center;
      align-items: center;
      margin-right: 12rpx;

      .area-text {
        color: #000;
        font-size: 32rpx;
        width: 102rpx;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        text-align: center;
        margin-right: 6rpx;
      }

      .area-down {
        width: 15rpx;
        height: 13rpx;
      }
    }

    .ttui-input {
      background-color: #fff;
      border-radius: 25rpx;
      width: 550rpx;
      height: 49rpx;
      padding-left: 15rpx;
      font-size: 28rpx;
    }
  }

  .all-type {
    display: flex;
    align-items: center;
    .time-wrapper {
      width: 236rpx;
      height: 44rpx;
      position: relative;
      margin-left: 33rpx;
      margin-top: 10rpx;
      margin-bottom: 20rpx;

      .time {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 236rpx;
        height: 44rpx;

        picker {
          display: flex;
          align-items: center;
          justify-content: center;
        }

        .time-text {
          color: #000;
          font-size: 20rpx;
          margin-right: 13rpx;
        }

        .time-down {
          width: 10rpx;
          height: 9rpx;
        }

      }

      .time-bg {
        background-color: #a8a8a8;
        width: 236rpx;
        height: 44rpx;
        opacity: 0.5;
        position: absolute;
        left: 0;
        top: 0;
        border-radius: 22rpx;
      }
    }
  }

  .ticket-list {
    .no-more,
    .loading {
        text-align: center;
        margin-top: 20rpx;
        color: #999;
        font-size: 30rpx;
    }
    .scroll-view {
      background-color: #eee;
      padding-top: 20rpx;
      padding-bottom: 30rpx;
    }
    .item {
      position: relative;
      width: 751rpx;
      height: 306rpx;

      .item-bg {
        position: absolute;
        left: 0;
        top: 0;
        width: 751rpx;
        height: 306rpx;
      }

      .ticket {
        position: relative;

        .pic {
          width: 190rpx;
          height: 268rpx;
          float: left;
          border-radius: 20rpx;
          overflow: hidden;
          margin-left: 33rpx;
          margin-top: 25rpx;
          box-shadow: 5rpx 10rpx 10rpx 0 rgba(0, 0, 0, 0.2)
        }

        .info {
          float: left;
          margin-top: 25rpx;
          margin-left: 28rpx;
          width: 470rpx;
          height: 268rpx;
          display: inline-flex;
          flex-direction: column;
          justify-content: space-between;

          .top {
            .name {
              font-size: 38rpx;
              white-space: nowrap;
              overflow: hidden;
              text-overflow: ellipsis;
            }

            .time {
              color: #000;
              font-size: 30rpx;
              margin-top: 20rpx;
            }

            .area {
              color: #000;
              font-size: 30rpx;
              margin-top: 16rpx;
            }

            .tags {
              display: flex;
              margin-top: 8rpx;

              .tag {
                border: 3rpx solid #f772d1;
                display: inline-flex;
                justify-content: center;
                align-items: center;
                padding: 2rpx 20rpx;
                border-radius: 15rpx;
                position: relative;
                margin-left: 13rpx;
                box-sizing: border-box;

                &:nth-of-type(1) {
                  margin-left: 1rpx;
                }

                .tag-text {
                  background-image: linear-gradient(to bottom, #f772d1, #c872f2);
                  -webkit-background-clip: text;
                  background-clip: text;
                  color: transparent;
                  font-size: 24rpx;
                  position: relative;
                }
              }
            }
          }

          .desc {
            display: flex;
            align-items: center;

            .price {
              font-size: 50rpx;
              color: #ec75d3;
              font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
              font-weight: bold;
              margin-right: 20rpx;
              text{
                font-size: 26rpx;
                margin-left: 5rpx;
              }
            }

            .people {
              color: #767676;
              font-size: 20rpx;
              position: relative;
              top: 10rpx;
            }
          }
        }
      }
    }
  }
  
}